Styles (script)

Use setStyle(name, value) to assign style attributes to the checkbox control.

	obj.setStyle("color", "red");
	obj.setStyle("font-weight", "bold");
	obj.setStyle("text-align", "right");
	obj.setStyle("width", "200px");

Back to checkbox examples, all examples